package org.grow.took.entity;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import lombok.Data;
import org.grow.took.entity.enums.DealState;

@TableName("DealBill")
@Data
public class DealBill {
    @TableId(type = IdType.AUTO)
    private Integer dealBillId;
    private String supplierCode;
    private String consumerCode;
    private LocalDateTime dealTime;
    private Integer quantity;
    private DealState dealState;
    private String dealNote;
    @Version
    private Integer version=0;
}